package ormDemo;

import org.springframework.context.annotation.Bean;

/**
 * Created by jack on 18/6/1.
 */
public class OrmConfig {
    @Bean
    public Student student(){
        String name = "jack";
        int age = 20;
        return new Student(name, age);
    }
}
